package me.zhengjie.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @Description TODO
 * @Author Long
 * @Date 2021/8/13 16:47
 */
@Data
@ApiModel(description = "给考场随机分配监考教室dto")
public class ExamRoomRandomDto {

    @ApiModelProperty("分配人数")
    @NotNull(message = "分配人数不可为空")
    @Min(value = 1,message = "至少分配一位教师")
    private Integer count;

    @ApiModelProperty("考试id")
    @NotNull(message = "考试id不可为空")
    private Integer examId;

}
